import {createStore,combineReducers} from "redux";
import {countReducer} from "./countReducer";
import {computerReducer} from "./computerReducer";
//state:{}
const initialState={
  
};

//mutation:{}
const rootReducer = combineReducers({
  countReducer:countReducer,
  computerReducer:computerReducer
})

//创建store
const store = createStore(rootReducer,initialState);
export default store;

